package com.hgh.javase3_1;

import java.util.Arrays;

public class ArrayTest {

	public static void main(String[] args) {
		int[] a = {1,4,2,6,7,1,2,310,232,123,432,4};
		for (int i = 0; i < a.length; i++) {
			System.out.println(a[i]);
		}
		Arrays.sort(a);
		for (int i = 0; i < a.length; i++) {
			System.out.println(a[i]);
		}
		System.out.println(a.toString());
	}
}
